@charset 'UTF-8';
@import '../../../../config/scss/function.scss',
'../../../../config/scss/config.scss';

.orderdetail {
    .text-muted{
      color: $mt_c_fourth !important;
    }
    .nav-state-bar {
        border-radius: 0;
        background-color: #fff;
        .navbar-text {
            margin: 0;
            padding: 23px 15px;
            background-color: $c1;
            color: #fff;
        }
        .navbar-nav {
            margin: auto;
        }
        .navbar-nav > li {
            color: $c2;
            float: left;
            >a {
                display: flex;
                flex-flow: column nowrap;
                align-items: center;
                padding: 10px 5px;
                color: $c2;
            }
            &:first-child {}
            &:after {
                position: absolute;
                top: 15px;
                transform: translateY(-70%);
                content: "...";
                font-size: 15px;
                letter-spacing: 3px;
                right: -10px;
            }
            &:last-child:after {
                content: '';
            }
            // @media screen and (max-width: 768px) {
            //     &:after {
            //         display: none;
            //     }
            // }
            .circle {
                margin-bottom: 10px;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: #fff;
                border: 2px solid $c2;
                overflow: hidden;
            }
            &.done {
                color: $c1;
                a {
                    color: $c1;
                }
                .circle {
                    border-color: $c1;
                }
            }
        }
        @media screen and (max-width: 768px) {
            // li{
            //   width: 100%;
            // }
            li:after {
                display: none;
            }
        }
    }
    .panel,
    .panel-default {
        border-radius: 0;
        border-color: $c5;
        .panel-body {
            padding: 0;
            h4 {
                &.contact {
                    padding-left: 20px;
                    background-color: $c5;
                    min-height: 40px;
                    line-height: 35px;
                    margin-top: 0px;
                    font-size: $f3;
                    .tel {
                        color: $c1;
                        margin-left: 10px;
                    }
                }
            }
            .row,
            .col {
                margin: 0;
                padding: 0;
            }
            .line-title,
            .line {
                margin-left: 20px;
            }
            .line {
                margin-top: 16px;
                color: $c3;
                img {
                    width: 60px;
                    height: 60px;
                }
                i {
                    font-size: 17px;
                    color: $c4;
                    cursor: pointer;
                    margin-right: 5px;
                    &.active {
                        color: $c1;
                    }
                }
                .form-control {
                    width: 80%;
                    &[readonly] {
                        background: none;
                    }
                }
                textarea {
                    text-align: left;
                    border-color: $c5;
                    border-radius: 5px;
                    padding: 5px;
                    width: 80%;
                    &:hover {
                        border-color: none !important;
                    }
                }
                .previewpicturelist {
                    padding-left: 0px;
                    li {
                        list-style: none;
                        display: inline-block;
                        margin-right: 10px;
                        margin-bottom: 15px;
                        cursor: pointer;
                        width: 40px;
                        height: 40px;
                        img {
                            width: 40px;
                            max-height: 40px;
                            margin-bottom: 10px;
                            // border-radius: 5px;
                        }
                    }
                }
                #previewul, #previewul1 {
                    padding-left: 0px;
                    li {
                        position: relative;
                        z-index: 1;
                        list-style: none;
                        margin-right: 5px;
                        margin-bottom: 5px;
                        display: inline-block;
                        cursor: pointer;
                        img {
                            width: 40px;
                            height: 40px;
                            border-radius: 5px;
                        }
                        .close {
                            position: absolute;
                            top: -5px;
                            right: -15px;
                            z-index: 5;
                        }
                    }
                }
            }
            .address {
                word-wrap: break-word;
                word-break: normal;
                a {
                    color: $c3;
                }
            }
            .line-end {
                margin-top: 90px;
            }
            .line-server-init-end {
                margin-top: 100px;
            }
            .line-server-upload-end {
                margin-top: 20px;
            }
            .img-circle {
                width: 70px;
                height: 70px;
            }
            .btn-upload,
            .btn-upload:hover {
                border-color: $c1;
                color: #fff;
                background-color: $c1;
            }
            .btn-completed,
            .btn-completed:hover {
                border: 1px solid $c1 !important;
                color: $c2;
                background-color: $c7;
            }
            .contact-row {
                height: 38px;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: $c11;
                h5 {
                    margin-left: 10px;
                    color: $c1;
                }
            }
            .time {
                color: $c10;
            }
            .name {
                color: $c1;
                cursor: pointer;
            }
            .dividing-line {
                border-style: dashed;
                margin: 16px 20px 16px 20px;
            }
            .btn-contact,
            .btn-contact:hover {
                margin-top: 10px;
                margin-left: 20px;
                border-color: $c1;
                background-color: #fff;
                color: $c1;
            }
            .order-detail {
                // border-right: 1px solid $c5;
                .order-detail-info {
                    padding-top: 40px;
                    padding-bottom: 20px;
                }
                .order-detail-state {
                    padding-bottom: 20px;
                    border-top: 1px solid $c5;
                    .money {
                        color: red;
                    }
                }
                &.width {
                    width: 100% !important;
                }
            }
            .order-process{
              border-left: 1px solid $c5;
              min-height: 500px;
              padding-bottom: 10px;
            }
            .previewhostroy {
                margin-left: 0px;
                padding-left: 15px;
                li {
                    list-style: none;
                    cursor: pointer;
                    display: inline-block;
                    margin-right: 20px;
                    margin-bottom: 15px;
                    img {
                        width: 40px;
                        max-height: 40px;
                        // border-radius: 5px;
                    }
                }
            }
        }
    }
    .order-records {
        border: 0;
        box-shadow: none;
        .panel-heading {
            border: 1px solid $c5;
            border-bottom: 0;
            background-color: #fff;
            padding-top: 16px;
            padding-bottom: 16px;
            padding-left: 30px;
        }
        .list-group-item {
            border-radius: 0;
            border: 1px solid $c5;
            .order-record-info {
                color: $c3;
                p {
                    color: $c2;
                }
            }
            .order-record-btn {
                padding-top: 16px;
            }
            &.hover {
                cursor: pointer;
            }
        }
    }
    .modal-edit {
        margin-top: 160px;
        width: 400px;
        border-radius: 0px;
        .modal-head {
            font-size: 22px;
            padding: 13px 30px;
            background-color: $c1;
            color: #fff;
        }
        .modal-content {
            border-radius: 0;
        }
        .form-group {
            margin: 30px;
            label {
                margin-bottom: 17px;
            }
            .form-control {
                border-color: $c9;
                height: 50px;
                // padding-top: 18px;
                // padding-bottom: 18px;
                &[readonly] {
                    background: none;
                }
            }
        }
        .form-group-line {
            padding-bottom: 17px;
            border: 0;
            border-bottom: 1px solid $c2;
            div {
                color: $c3;
                margin-top: 10px;
            }
            div.state {
                color: $c2;
            }
            div {
                .money1 {
                    color: #dd2626;
                }
                .money2 {
                    color: $c3;
                }
            }
        }
        .btn-submit,
        .btn-submit:hover {
            border-radius: 16px;
            background-color: $c1;
            color: #fff;
            margin-bottom: 30px;
        }
    }

    .modal-body {
      padding-left: 0;
      padding-right: 0;
    }
    .mt_group_btn {
      margin: 30px 0;
    }
    .form-group-line {
        padding-bottom: 17px;
        border: 0;
        border-bottom: 1px solid $mt_c_border;
        div {
            color: $c3;
            margin-top: 10px;
        }
        div.state {
            color: $c2;
        }
        div {
            .money1 {
                color: #dd2626;
            }
            .money2 {
                color: $c3;
            }
        }
    }
}
@media screen and (max-width: 768px) {
    .installedtime {
      margin-left: 0 !important;
    }
    .flatpickr-input{
      height: 50px;
      border-radius: 4px;
      border: 1px solid $c9;
      background-color: #fff;
      word-break: keep-all;
      overflow-x: hidden;
      width: 100%;
      &[readonly] {
          background: none;
      }
    }
    .orderdetail.col-xs-12 {
        .order-detail {
            // float: right;
        }
        .order-process {
            // float: left;
        }
        .modal-edit {
            width: 90%;
            max-width: 400px;
            margin: 160px auto;
        }
        .panel-default{
          .panel-body{
            h4{
              &.contact{
                .tel{
                  margin: -5px;
                }
              }
            }
            .btn-upload{
              margin-bottom: 10px;
            }
          }
        }
    }

}
